/*
 * UART1.h
 *
 * Created: 6.11.2013 8:27:35
 *  Author: Elektronik
 */ 

#pragma once

#include "config.h"

#ifdef USE_UART1
	extern void UART1_begin(uint16_t ubbr);
	extern void UART1_end();
	extern void UART1_write_byte(uint8_t c);
	extern void UART1_write_bytes(uint8_t * ptr, uint8_t length);
	extern void UART1_write_string(uint8_t *str);
	extern void UART1_write_string_P(uint32_t str);
	extern uint8_t UART1_read_byte();
	extern uint8_t UART1_is_empty();
	extern uint8_t UART1_available();
#endif